package com.shangqing.system.domain.snow;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shangqing.system.domain.caoyuan.vo.CityVo;

import java.io.Serializable;
import java.util.Date;

public class Snow implements Serializable {
    private int id;

    /*
   创建时间
    */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 精度
     */
    private String longitude;
    /**
     * 维度
     */
    private String latitude;
    /**
     * 发生地点
     */
    private String occurrencePlace;
    /**
     * 发生时间
     */
    private Date occurrenceTime;
    /**
     * 是否删除0表示删除 1表示不删除
     */
    private int isdelete;
    /**
     * 设备损坏情况
     */
    private String equipmentdamage;
    /**
     * 威胁人口
     */
    private String population;
    /**
     * 威胁财产
     */
    private String property;
    /**
     * 威胁范围
     */
    private String range;
    /**
     * 灾害预警id
     */
    private int earlyId;
    /**
     * 灾害类型id
     */
    private int gradeId;

    /**
     * 城市ID
     */
    private int cityId;

    private SnowEarly snowEarly;
    private SnowGrade snowGrade;
    private CityVo cityVo;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getOccurrencePlace() {
        return occurrencePlace;
    }

    public void setOccurrencePlace(String occurrencePlace) {
        this.occurrencePlace = occurrencePlace;
    }

    public Date getOccurrenceTime() {
        return occurrenceTime;
    }

    public void setOccurrenceTime(Date occurrenceTime) {
        this.occurrenceTime = occurrenceTime;
    }

    public int getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }

    public String getEquipmentdamage() {
        return equipmentdamage;
    }

    public void setEquipmentdamage(String equipmentdamage) {
        this.equipmentdamage = equipmentdamage;
    }

    public String getPopulation() {
        return population;
    }

    public void setPopulation(String population) {
        this.population = population;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public String getRange() {
        return range;
    }

    public void setRange(String range) {
        this.range = range;
    }

    public int getEarlyId() {
        return earlyId;
    }

    public void setEarlyId(int earlyId) {
        this.earlyId = earlyId;
    }

    public int getGradeId() {
        return gradeId;
    }

    public void setGradeId(int gradeId) {
        this.gradeId = gradeId;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public SnowEarly getSnowEarly() {
        return snowEarly;
    }

    public void setSnowEarly(SnowEarly snowEarly) {
        this.snowEarly = snowEarly;
    }

    public SnowGrade getSnowGrade() {
        return snowGrade;
    }

    public void setSnowGrade(SnowGrade snowGrade) {
        this.snowGrade = snowGrade;
    }

    public CityVo getCityVo() {
        return cityVo;
    }

    public void setCityVo(CityVo cityVo) {
        this.cityVo = cityVo;
    }
}
